<?php		

    include("Templates/Public/Translations/DateSelector_lng.inc");		

    
    function dateselectorassign($template, $id, $inputdate)
    {
    	
    	$date = explode( ' ', $inputdate);
		$datepart = explode( '-', $date[0]);
		$day = $datepart[2]; $month = $datepart[1]; $year = $datepart[0];
		$template->assign($id."_day" , $day);
		$template->assign($id."_month" , $month);
		$template->assign($id."_year" , $year);    	
    }
?>